package beans;

import android.content.Context;

import java.io.OutputStream;

import serialport.DealSerialPortData;

/**
 * Created by Administrator on 2018/5/18.
 */

public class ScmSerialPortBean {
    private DealSerialPortData serialPortData;
    private Context mContext;
    private int selectCabinet;//选择的柜号
    public String serialPortString;//保存发送到单片机的命令（用于重发）
    private int count;//已经重发的次数
    private int packageCount;//当前包数
    public OutputStream mOutputStream;
    private boolean isCabinetCode;//是否是柜子编码

    public int getPackageCount() {
        return packageCount;
    }

    public void setPackageCount(int packageCount) {
        this.packageCount = packageCount;
    }

    public boolean isCabinetCode() {
        return isCabinetCode;
    }

    public void setCabinetCode(boolean cabinetCode) {
        isCabinetCode = cabinetCode;
    }

    public DealSerialPortData getSerialPortData() {
        return serialPortData;
    }

    public void setSerialPortData(DealSerialPortData serialPortData) {
        this.serialPortData = serialPortData;
    }

    public Context getmContext() {
        return mContext;
    }

    public void setmContext(Context mContext) {
        this.mContext = mContext;
    }

    public int getSelectCabinet() {
        return selectCabinet;
    }

    public void setSelectCabinet(int selectCabinet) {
        this.selectCabinet = selectCabinet;
    }

    public String getSerialPortString() {
        return serialPortString;
    }

    public void setSerialPortString(String serialPortString) {
        this.serialPortString = serialPortString;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public OutputStream getmOutputStream() {
        return mOutputStream;
    }

    public void setmOutputStream(OutputStream mOutputStream) {
        this.mOutputStream = mOutputStream;
    }
}
